package com.lsh.payment.core.model.notify;

import com.lsh.payment.core.model.BaseVender;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Project Name: lsh-payment
 * @author peter
 * Date: 16/11/8
 * 北京链商电子商务有限公司
 * Package com.lsh.payment.core.payVo.payNotifyTmsTask
 * desc:
 */
@Setter
@Getter
@ToString
@NoArgsConstructor
public class PayNotifyTask extends BaseVender implements Serializable {
    /**
     * 主键
     */
    private Long id;
    /**
     * 业务平台交易id
     */
    private String tradeId;
    /**
     * 支付渠道 相当于 pay_channel
     */
    private Integer method;
    /**
     * 创建时间
     */
    private Date createdAt;
    /**
     * 通知次数
     */
    private Integer notifyTimes;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 修改时间
     */
    private Date updatedAt;
    /**
     * 回调url
     */
    private String lshNotifyUrl;
    /**
     * 支付金额
     */
    private BigDecimal receiveAmount;
    /**
     * 支付平台流水号
     */
    private String payPaymentNo;
    /**
     * 邮件是否发送
     */
    private Integer emailStatus;

    private String traceModule;
}
